﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Themes/1Coluna/Content/Sample.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Themes/1Coluna/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Themes/1Coluna/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
</head>
<body>
    <div id="container">
        <div id="header">
            <h1>
                @Html.ActionLink("Blog do 100loop.com", "Index", "Post")
            </h1>
        </div>
        <div id="navigation">
            <ul>
                <li>@Html.ActionLink("Início", "Index", "Post")</li>
                <li>@Html.ActionLink("Comentários", "Index", "Comment")</li>
            </ul>
        </div>
        <div id="content">
            @RenderBody()
        </div>
        <div id="footer">
            <h3>
                Envio de Temas</h3>
            @using (Html.BeginForm("FileUpload", "Post", FormMethod.Post, new { enctype = "multipart/form-data" }))
            {
                @Html.ValidationSummary(true, "Não foi possível fazer o cadastro. Corrija os erros e tente novamente.")
                <div>
                    <fieldset>
                        <legend>Tema</legend>
                        <div class="editor-field">
                            <input type="file" name="Views" size="4" />
                        </div>
                        <p>
                            <input type="submit" value="Enviar" />
                        </p>
                    </fieldset>
                </div>
            }
            @Html.Action("Themes", "Post")
            Copyright © 100loop.com, @DateTime.Now.Year.ToString()
        </div>
    </div>
</body>
</html>
